package com.swz.dcrm.model;

import com.bin.david.form.annotation.SmartColumn;
import com.bin.david.form.annotation.SmartTable;

import java.util.List;

public class MonthlyStructure {

    List<StructureItem>monthDeliveryCarList;
    List<StructureItem>monthNewAddList;
    List<StructureItem>monthOrderCarList;

    public List<StructureItem> getMonthDeliveryCarList() {
        return monthDeliveryCarList;
    }

    public void setMonthDeliveryCarList(List<StructureItem> monthDeliveryCarList) {
        this.monthDeliveryCarList = monthDeliveryCarList;
    }

    public List<StructureItem> getMonthNewAddList() {
        return monthNewAddList;
    }

    public void setMonthNewAddList(List<StructureItem> monthNewAddList) {
        this.monthNewAddList = monthNewAddList;
    }

    public List<StructureItem> getMonthOrderCarList() {
        return monthOrderCarList;
    }

    public void setMonthOrderCarList(List<StructureItem> monthOrderCarList) {
        this.monthOrderCarList = monthOrderCarList;
    }

    @SmartTable
    public class StructureItem{

        /**
         * carModelId : 0
         * carModelName : string
         * count : 0
         * rate : 0
         */

        private long carModelId;

        @SmartColumn(id=1)
        private String carModelName;
        @SmartColumn(id=2)
        private int count;
        @SmartColumn(id=3)
        private String rate;

        public long getCarModelId() {
            return carModelId;
        }

        public void setCarModelId(long carModelId) {
            this.carModelId = carModelId;
        }

        public String getCarModelName() {
            return carModelName;
        }

        public void setCarModelName(String carModelName) {
            this.carModelName = carModelName;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public String getRate() {
            return rate;
        }

        public void setRate(String rate) {
            this.rate = rate;
        }
    }
}
